package com.lp.biz.train.model.query;

import com.lp.common.entity.PageParams;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static com.lp.common.constant.CommonConstant.DATE;

/**
 * TrainClassQuery
 *
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-06-12 15:00:59
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class TrainClassQuery extends PageParams {

    private String classTeacher;

    @DateTimeFormat(pattern = DATE)
    private LocalDate startAt;

    private Integer trainId;

}
